def pruneClient
  
      $clients.each{|k, c|
      if c.isTimeout()
        $clientNum = $clientNum - 1
        $clients.delete(k)
      end
    }
end